﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="RGPWEB.EN.Register" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<link href="../inc/Style/index.css" rel="Stylesheet" type="text/css" />
<link href="../inc/Style/contentstyle.css" rel="Stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="../inc/script/pub.js"></script>
    <title></title>        
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table style="width:100%;">
                <tr>
                    <td style="height:50px;font-size :14;font-weight:bold">Registration Info</td>
                </tr>
                <tr>
                    <td>
                        <asp:Panel ID="pal_first" runat="server">
                             <table style="width:100%;">                               
                                <tr>
                                    <td style="width: 100px">
                                        <span style="DISPLAY: block; width: 100px;">Contact Name：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_Linkmen" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfv_name" runat="server" 
                                            ControlToValidate="txt_Linkmen" Display="Dynamic" 
                                            ErrorMessage="Contact must be entered!"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td>
                                        User ID：</td>
                                    <td>
                                        <asp:TextBox ID="txt_userid" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfv_userid" runat="server" 
                                            ControlToValidate="txt_userid" Display="Dynamic" 
                                            ErrorMessage="User name must be entered!"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td>
                                        E_Mail：</td>
                                    <td>
                                        <asp:TextBox ID="txt_mail" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="rev_email" runat="server" 
                                            ControlToValidate="txt_mail" Display="Dynamic" 
                                            ErrorMessage="E-mail address is incorrect!!" 
                                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                    </td>
                                    <td>
                                        <span style="DISPLAY: block">Confirm Email：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_confirm_mail" runat="server"></asp:TextBox>
                                        <asp:CompareValidator ID="cvt_email" runat="server" ControlToCompare="txt_mail" 
                                            ControlToValidate="txt_confirm_mail" 
                                            ErrorMessage="Two different entry, check!!"></asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Password：</td>
                                    <td>
                                        <asp:TextBox ID="txt_password" runat="server" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfv_pass" runat="server" 
                                            ControlToValidate="txt_password" Display="Dynamic" 
                                            ErrorMessage="Password must be entered!"></asp:RequiredFieldValidator>
                                    </td>
                                    <td>
                                        <span style="DISPLAY: block">Confirm Password：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_re_password" runat="server" TextMode="Password"></asp:TextBox>
                                        <asp:CompareValidator ID="cvt_password" runat="server" 
                                            ControlToCompare="txt_password" ControlToValidate="txt_re_password" 
                                            ErrorMessage="Not the same password twice!!"></asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        <asp:Button ID="btn_cancel" runat="server" Text="Cancel" 
                                            onclick="btn_cancel_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:Button ID="btn_next" runat="server" Text="Next" onclick="btn_next_Click" />
                                    </td>
                                </tr>                                
                            </table>                        
                        </asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Panel ID="pal_second" runat="server">
                            <table style="width:auto">
                                <tr>
                                    <td style="width: 100px"><span style="DISPLAY: block;width:100px">REGTYPE：</span></td>
                                    <td>
                                        <asp:RadioButtonList ID="rbl_type" runat="server" RepeatDirection="Horizontal" 
                                            onselectedindexchanged="rbl_type_SelectedIndexChanged" AutoPostBack="True">
                                            <asp:ListItem Value="0">Personal</asp:ListItem>
                                            <asp:ListItem Value="1">Enterprise</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr id="info" style="display: none" runat="server">
                                    <td style="width: 100px"></td>
                                    <td>
                                       <table style="width:auto">
                                            <tr><td style="font-size: 14px; font-weight: bold">Please answer the following questions：</td></tr>
                                            <tr><td></td></tr>
                                            <tr><td style="font-size: 12px; font-weight: bold;">1、Which industry most companies 
                                                are of？</td></tr>
                                            <tr><td>
                                                <asp:DropDownList ID="ddl_indu" runat="server">
                                                    <asp:ListItem Value="0">Please Select</asp:ListItem>
                                                    <asp:ListItem Value="1">High-technology</asp:ListItem>
                                                    <asp:ListItem Value="2">Industrial manufacturing and Distribution</asp:ListItem>
                                                    <asp:ListItem Value="3">Customer Service</asp:ListItem>
                                                    <asp:ListItem Value="4">Retail /Consumer</asp:ListItem>
                                                    <asp:ListItem Value="5">Other industries</asp:ListItem>
                                                </asp:DropDownList>
                                                </td></tr>
                                            <tr><td style="font-size: 12px; font-weight: bold">2、How many employees？</td></tr>
                                            <tr><td>
                                                <asp:DropDownList ID="ddl_staff" runat="server">
                                                    <asp:ListItem Value="0">Please Select</asp:ListItem>
                                                    <asp:ListItem Value="1">1(Including yourself)</asp:ListItem>
                                                    <asp:ListItem Value="2">2-5</asp:ListItem>
                                                    <asp:ListItem Value="3">6-9</asp:ListItem>
                                                    <asp:ListItem Value="4">10-19</asp:ListItem>
                                                    <asp:ListItem Value="5">20-49</asp:ListItem>
                                                    <asp:ListItem Value="6">50-99</asp:ListItem>
                                                    <asp:ListItem Value="7">100+</asp:ListItem>
                                                </asp:DropDownList>
                                                </td></tr>
                                            <tr><td></td></tr>
                                       </table> 
                                    </td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td style="width: 100px"><span style="DISPLAY: block">Contact Name：</span></td>
                                    <td>
                                        <asp:Label ID="lbl_linkmen" runat="server"></asp:Label>
                                    </td>
                                    <td><span style="DISPLAY: block">ZIP COde：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_zip0" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="DISPLAY: block">Position：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_positon" runat="server"></asp:TextBox>
                                    </td>
                                    <td><span style="DISPLAY: block">City：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_city0" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="DISPLAY: block">Company Name：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_company" runat="server"></asp:TextBox>
                                    </td>
                                    <td><span style="DISPLAY: block">Other Address：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_other0" runat="server" Width="240px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="DISPLAY: block">Countries\Regions：</span></td>
                                    <td>
                                        <asp:DropDownList ID="ddl_country" runat="server">
                                        </asp:DropDownList>
                                    </td>
                                    <td><span style="DISPLAY: block">Tel：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_tel0" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="DISPLAY: block">Address：</span></td>
                                    <td>
                                        <asp:TextBox ID="txt_add" runat="server" Width="240px"></asp:TextBox>
                                    </td>
                                    <td></td>
                                    <td>
                                        <asp:Button ID="btn_cancel_1" runat="server" Text="Cancel" />
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:Button ID="btn_ok" runat="server" Text="OK" onclick="btn_ok_Click" />
                                    </td>
                                </tr>
                                
                            </table>                        
                        </asp:Panel>
                    </td>
                </tr>                
            </table>
        </div>
    </form>
</body>
</html>
